package cn.duckerkj.dao.test;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import cn.duckerkj.base.mybatis.MyMapper;
import cn.duckerkj.dao.test.sql.TestSql;
import cn.duckerkj.pojo.test.School;

//@Repository
@Mapper
public interface SchoolDao extends MyMapper<School>{
	
	 /*@Query("select t from School t ")
	 List<Map<String, Object>> findByTaskName();*/
	@SelectProvider(method="findEveryThing",type=TestSql.class)
	List<Map<String, Object>> findByTaskName(Map<String, Object> param);
}
